<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page errorPage="error/Error.jsp"
	contentType="text/html;charset=UTF-8"
	import="com.mmp.common.util.*,com.mmp.main.util.*,com.mmp.main.entity.*,java.util.*"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<form name="form1" method="post" action="ViewDevicesByPPMVisit"
		target="_blank">
		<table class="layout_grid">
			<tr>
				<td class="side_label_middle">خلال شهر :</td>
				<td><%=HtmlUtil.getMonthesAsHtmlSelect("month", "auto_off")%></td>
			</tr>
			<tr>
				<td class="side_label_middle">الفئة :</td>
				<td><select id="category" name="category"
					class="auto_add_all auto_off">
						<%
							if (request.getAttribute("catList") != null)
								for (LookupDeviceCategory obj : (List<LookupDeviceCategory>) request.getAttribute("catList")) {
						%>
						<option value="<%=obj.getId()%>"><%=obj.getName()%></option>
						<%
							}
						%>
				</select></td>
			</tr>
			<tr>
				<td>&nbsp;</td>
				<td><input type="submit" name="button" id="button" value="عرض"></td>
			</tr>
		</table>
	</form>
</body>
</html>
